package common.database;

public class Skill implements DAO_Obj {

	public static final String TABLE_NAME = "Skills";
	public static final String COLUMN_ID = "id";
	public static final String[][] COLUMNS = { { "employee_id"}, {"int NOT NULL" },
			{ "skill"}, {"varchar(500) NOT NULL" } };

	private int id;
	private int employee_id;
	private String skill;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getEmployee_id() {
		return employee_id;
	}

	public void setEmployee_id(int employee_id) {
		this.employee_id = employee_id;
	}

	public String getSkill() {
		return skill;
	}

	public void setSkill(String skill) {
		this.skill = skill;
	}

	@Override
	public String toString() {
		return "Employee_id: " + employee_id + " Skill: " + skill;
	}

	@Override
	public String getTableName() {
		return Skill.TABLE_NAME;
	}

	@Override
	public String getColumnId() {
		return Skill.COLUMN_ID;
	}

	@Override
	public String[][] getColumns() {
		return Skill.COLUMNS;
	}
	
	public static Skill getInstance() {
		return new Skill();
	}

}
